# name : survreg
# key: survreg
# contributor: Shuguang Sun
# --
fit <- survreg(
${1:Surv(AVAL, EVENT) ~ TRT01P + strata(HISTCAT)},
data = ${2:data},
dist = ${3:$$(yas-choose-value
  '("weibull"
   "exponential"
   "gaussian"
   "logistic"
   "lognormal"
   "loglogistic"))}
)